<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box1{
            
            background-color: lightgray;
            height: 20px;
            
            float: left;
            padding: 1.5% 3%;
            
        }
        .box1:hover{
            background-color: rgb(88, 82, 82);
        }
        a{
            text-decoration: none;
            color: gray;

            display: block;
            line-height: 20px;
        }
     
    </style>
</head>
<body>
    <div class="box1"><a href="#">HTML/CSS</a></div>
    <div class="box1"><a href="#">Browser Slide</a></div>
    <div class="box1"><a href="#">Server Slide</a></div>
    <div class="box1"><a href="#">Programming</a></div>
    <div class="box1"><a href="#">XML</a></div>
    <div class="box1"><a href="#">Web Building</a></div>
    <div class="box1"><a href="#">Reference</a></div>
    
</body>
</html>